package ooday05test;
/*
* */
public class Test {
    public static void main(String[] args) {
        //
        int count=0;
        for (int i=1;i<=10;i++){
            if (i==5){
                continue;
            }
            for (int j=1;j<=10;j++){
                if (j==5){
                    break;
                }
                count++;
            }
        }
        System.out.println(count);
        //float f=3.90f;
        int a=0,b=0;
        do {
            --b;
            a=a-1;
        }while (a>0);
        System.out.println(b);
        int c=6;
        System.out.println(c);
        System.out.println(c++);
        System.out.println(c);

        int x=182;
        int z,g;
        z=x%10;
        g=x/100;
        System.out.println(z);
        System.out.println(g);
        int i=10;
        char ch1=65;
        char ch2='好';
        char ch3='A'+1;
        System.out.println(ch3);
        char ch4=1000+100;
        System.out.println(ch4);

        int x1=1,x2=2,x3=3;
        double x4=1.5;
        System.out.println("-----------");
        switch ((int)x4){
            case 1:
                System.out.println(x1);
                break;
            case 2:
                System.out.println(x2);
                break;
        }
        System.out.println("-----------");
        int m1=0;
        int mz=0;
        while (m1++<2){
            mz+=m1;
        }
        System.out.println(mz);

        System.out.println("-----------");

        for (int i1=0,count1=0;i1<100;i1++){
            if (i1%3==0){
                System.out.println(i1);
                if (++count1>=10){
                    break;
                }
            }
        }
        int max=4;
        System.out.println("max的值为"+(max>4?66.6:66));
        int a1=(int)(Math.random());
    }
}
